<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <title>Draw a blue rectangle(canvas version)</title>
</head>

<body onload="main()">
    <canvas id="example" width="400" height="400">
            Please use a browser that supports "canvas"
        </canvas>
    <script src="DrawRectangle.js"></script>
</body>

</html>